sgdk
AnimationFrame Struct Reference

#include <sprite_eng.h>

List of all members.

Public Attributes

u16 numSprite
FrameSprite ** frameSprites
u16 numCollision
void ** collisions
s16 w
s16 h
u8 tc
u8 timer

Detailed Description

Sprite animation frame structure.

Parameters:
numSpritenumber of sprite which compose this frame
frameSpritessprites composing the frame
numCollisionnumber of collision structure for this frame
collisionscollisions structures (can be either Box or Circle)
wframe width in pixel
hframe height in pixel
tccollision type, accepted values are:
COLLISION_TYPE_NONE
COLLISION_TYPE_BOX
COLLISION_TYPE_CIRCLE
timeractive time for this frame (in 1/60 of second)

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Defines